package com.xhsj.user.generalprocess.entity;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.xhsj.user.hr.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * <p>
 * 通用流程历史任务表
 * </p>
 *
 * @author suxiaolin
 * @since 2021-01-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TbPamGeneralProcessHiTask extends Model<TbPamGeneralProcessHiTask> {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 节点id
     */
    private Long nodeId;

    /**
     * 业务数据id
     */
    private Long dataId;

    /**
     * 审核用户id
     */
    private Long userId;

    /**
     * 审核角色id
     */
    private Long roleId;

    /**
     * 审核状态 (0 未审核 1 审核通过 2 审核退回)
     */
    private Integer examineStatus;


    /**
     * 流程类型
     */
    private String processType;

    /**
     * 创建人
     */
    protected Long createBy;

    /**
     * 创建时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    protected Date createDate;
    /**
     * 修改人
     */
    protected Long updateBy;

    /**
     * 修改时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    protected Date updateDate;
    /**
     * 删除标记
     */
    protected int delFlag = 0;

    protected String remarks;


}
